package com.example.tome.component_router.retrofit;

import com.example.tome.component_router.baseApp.BaseApplication;
import com.example.tome.component_router.retrofit.bean.BaseObj;
import com.example.tome.component_router.retrofit.bean.LoginBean;
import com.example.tome.component_router.retrofit.bean.LoginResponse;
import com.example.tome.component_router.retrofit.helper.HttpHelper;
import com.example.tome.component_router.retrofit.params.LoginParams;

import javax.inject.Inject;

import io.reactivex.Observable;

/**
 * @Created by TOME .
 * @时间 2018/5/3 17:50
 * @描述 ${TODO}
 */

public class RetrofitHelper implements HttpHelper {

    private URLApis mURLApis ;

    @Inject
    public RetrofitHelper(URLApis urlApis){
        mURLApis = urlApis ;
    }

    @Override
    public Observable<LoginResponse> getFeedArticleList(LoginParams params) {
        return mURLApis.getFeedArticleList(params);
    }


  /*  public Observable<LoginBean> getFeedArticleList(LoginParams params) {
        return URLApis.getFeedArticleList(params);

    }*/


}
